package com.file.service;

import com.file.form.result.ImgResultForm;
import org.hibernate.validator.constraints.NotBlank;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 使用阿里云对象存储处理文件的访问上传下载
 * Created by chairal on 2017/7/21.
 */
public interface IOSSFileProcessService {

    /**
     * oss上传图片
     *
     * @param project
     * @param type
     * @param request
     * @return
     */
    ImgResultForm uploadImage(String project, String type, HttpServletRequest request);
}
